package com.liqi.dev.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 网点表
 * </p>
 *
 * @author tianye
 * @since 2022-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_cfg_branch")
@ApiModel(value="CfgBranch对象", description="网点表")
public class CfgBranch implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "网点编码")
    private String branchCode;

    @ApiModelProperty(value = "网点名称")
    private String branchName;

    @ApiModelProperty(value = "父网点编码，没有父网点，那么填0")
    private String parentCode;

    @ApiModelProperty(value = "区域编号")
    private String regionId;

    @ApiModelProperty(value = "区域祖籍列表")
    private String ancestors;

    @ApiModelProperty(value = "网点详细地址")
    private String address;

    @ApiModelProperty(value = "网点标志，和力麒排队系统对接")
    private String netFlag;

    @ApiModelProperty(value = "网点所属部门（实施部门）编码")
    private String deptCode;

    @ApiModelProperty(value = "网点所属部门（实施部门）名称")
    private String deptName;

    @ApiModelProperty(value = "网点排序号")
    private Integer sort;

    @ApiModelProperty(value = "状态：0正常，1软删除")
    private Boolean status;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;


}
